package me.gm.stcont.model;

import javax.persistence.Entity;

@Entity
public class Individual extends Person {

	public enum Type {
		CLIENT
	};

	private String nickName;

	private Type type;

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public Type getType() {
		return this.type;
	}

	public void setType(Type type) {
		this.type = type;
	}

	@Override
	public String toString() {
		return super.toString() + ", Individual [nickName=" + nickName
				+ ", type=" + type + "]";
	}

}
